FROM alpine:3.15.0
MAINTAINER 834951526@qq.com

RUN mkdir -p /app/conf
ADD localtime       /etc/localtime
ADD conf/app.conf   /app/conf/app.conf
ADD alert-dingtalk-hook  /app/alert-dingtalk-hook
RUN chmod +x /app/alert-dingtalk-hook
ENV TZ=Asia/Shanghai

EXPOSE 8079
WORKDIR /app
CMD   ["./alert-dingtalk-hook"]
